package com.dongdongshop.service;

import com.dongdongshop.pojo.TbContentCategory;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ContentCategoryService {
    PageInfo<TbContentCategory> getListContentCategory(Integer pageNumber, Integer pageSize);

    int insertCategory(TbContentCategory tbContentCategory);

    TbContentCategory selectCateById(Long id);

    int updateCategory(TbContentCategory contentCategory);

    int deleteBatch(Long[] ids);

    List<TbContentCategory> getContentCategory();
}
